package com.fhz.day004.view

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.fhz.day004.presenter.IPresenter

/**
 * 时间:2021/10/15
 * @author msfeng
 * 简述: TODO
 */
abstract class BaseActivity<P:IPresenter> : AppCompatActivity(),IActivity{

    lateinit var p:P

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(bindLayoutId())
        initView()
        initData()
    }

    override fun showDialog() {

    }

    override fun hideDialog() {

    }
}
